package com.zzdx.deployment.system.domain;

import com.zzdx.deployment.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 项目版本配置表 prj_prjversion_config
 * 
 * @author ruoyi
 * @date 2018-12-27
 */
public class PrjversionConfig extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 项目版本配置ID */
	private Integer id;
	/** json配置数据 */
	private String config;
	/** 配置关联的项目版本 */
	private Integer projectVersionId;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setConfig(String config) 
	{
		this.config = config;
	}

	public String getConfig() 
	{
		return config;
	}
	public void setProjectVersionId(Integer projectVersionId) 
	{
		this.projectVersionId = projectVersionId;
	}

	public Integer getProjectVersionId() 
	{
		return projectVersionId;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("config", getConfig())
            .append("projectVersionId", getProjectVersionId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
